package cn.bonoon.entities;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Enumerated;

/**
 * 状态的改变是重要的变更
 * @author jackson
 *
 */
@Entity
public class ImmediateTaskStatusLog extends ImmediateTaskLog{
	
	private static final long serialVersionUID = -5650357313785044220L;
	
	@Enumerated
	@Column(name = "C_FROMSTATUS")
	private ImmediateTaskStatus fromStatus;
	
	@Enumerated
	@Column(name = "C_TOSTATUS")
	private ImmediateTaskStatus toStatus;
	
	public ImmediateTaskStatus getFromStatus() {
		return fromStatus;
	}
	public void setFromStatus(ImmediateTaskStatus fromStatus) {
		this.fromStatus = fromStatus;
	}
	public ImmediateTaskStatus getToStatus() {
		return toStatus;
	}
	public void setToStatus(ImmediateTaskStatus toStatus) {
		this.toStatus = toStatus;
	}
}
